//
//  BillSelectNoneView.m
//  YTwallet
//
//  Created by ZhangLin on 2019/3/24.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "BillSelectNoneView.h"
#import <Masonry.h>
@implementation BillSelectNoneView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setupViews];
    }
    return self;
}

-(void)setupViews{
    
    self.backgroundColor = [UIColor whiteColor];
    
    self.imv = [[UIImageView alloc] init];
    self.imv.image = [UIImage imageNamed:@"empty_img_bill"];
    [self addSubview:self.imv];
    [self.imv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self);
        make.top.mas_equalTo(100);
        make.width.mas_equalTo(150);
        make.height.mas_equalTo(150);
    }];
    
    self.tipsLab = [[UILabel alloc] init];
    self.tipsLab.text = @"暂时没有账单哦~";
    self.tipsLab.textColor = [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1];
    self.tipsLab.font = [UIFont systemFontOfSize:14];
    [self addSubview:self.tipsLab];
    [self.tipsLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.imv);
        make.top.equalTo(self.imv.mas_bottom).offset(15);
    }];
}

@end
